package com.weic.easycache.framework;

import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.weic.easycache.framework.anno.Injector;

public class AbsFragment extends Fragment {
	private View mView;

	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
		mView = inflater.inflate(Injector.layoutID(getClass()), container, false);
		Injector.inject(this, mView, AbsFragment.class);
		return mView;
	}

	public View getView() {
		return mView;
	}
}
